const router = require('express').Router();

const sign = '';
const arr = ['和尚','泼猴','猪','河妖'];
const content = `
  <h1 style="text-align:center;color:red">我是富文本内容</h1>
`;

router.get('/home', (req,res)=>{
  res.render('home', {
    sign,
    arr,
    content
  });
})

router.post('/home', (req,res)=>{
  res.send('home页-post')
})

module.exports = router